/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package quangtq;

import beans.Mail;
import java.util.ArrayList;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author QUANG2PRO
 */
@Remote
public interface MailPagingRemote {

    public ArrayList<Mail> mailRange(int numOfPage, int numOfRecord, String userName, Boolean isInbox);

    public int numberOfMails(String userName, Boolean isInbox);

    public int deleteMails(String[] ids);
}
